{include file="layout/header" title="数据库备份列表" /}
		<div class="view-body">
      {include file="layout/menu" /}
			<div class="view-product">
				<div class="company_identify">
					<div class="manage-head">
						<h6 class="padding-left manage-head-con">备份列表</h6>
					</div>
          <div class="manage-detail">
						<h6 class="h5">备份文件保存目录 /public/backup</h6>
						<h6 class="h5">定时备份链接：{$Request.domain}{:url('admin/tool/backup',['action'=>'backup'])}</h6>
						<div class="margin-tb manage-detail-con clearfix">
							<a class="h5 recharge fl layui_confirm" href="{:url('admin/tool/backup',['action'=>'backup'])}" msg="确定备份">备份</a>
						</div>
					</div>

					<div class="offcial-table tr-border table-margin clearfix">
						<div class="tr-th clearfix">
							<div class="th w10">序号</div>
							<div class="th w30">文件名</div>
							<div class="th w15">文件大小</div>
							<div class="th w15">备份时间</div>
							<div class="th w30">操作</div>
						</div>
						{volist name="backups" id="backup"}
							<div class="tr clearfix border-bottom-none">
								<div class="td w10">{$i}</div>
								<div class="td w30">{$backup.name}</div>
								<div class="td w15">{$backup.size}</div>
								<div class="td w15">{$backup.time}</div>
								<div class="td w30">
									<a href="{:url('admin/tool/backup',['action'=>'download','file'=> $backup['name']])}" msg="确定下载？" class="layui-btn layui-btn-mini layui-btn-normal layui_confirm">下载</a>
									<a href="{:url('admin/tool/backup',['action'=>'recover','file'=> $backup['name']])}" msg="确定还原？" class="layui-btn layui-btn-mini layui-btn-warm layui_confirm">还原</a>
									<a href="{:url('admin/tool/backup',['action'=>'delete','file'=> $backup['name']])}" msg="确定删除？" class="layui-btn layui-btn-mini layui-btn-danger layui_confirm">删除</a>
								</div>
							</div>
						{/volist}
					</div>

				</div>
			</div>
		</div>
    <script type="text/javascript">

    </script>
{include file="layout/footer" /}
